import formBuilder from "@/comps/form/formBuilder";
import api from "./api";

export default {
    main:function () {
        let fb = formBuilder()
        fb.setLabelWidth(100)
        fb.addText("name","",6).setRules([fb.R.notNull()])

        return fb
    },
    other:function () {
        let fb = formBuilder()
        fb.setLabelWidth(100).setLabelPosition("right")

        return fb
    }
}